home *** CD-ROM | disk | FTP | other *** search
- /*
- * Name : DrawFile.c
- * Desc : Veneers for the draw file module
- * Author: James Bye
- * Date : 21st June 1993
- */
-
- #ifndef __kernel_h
- #include "kernel.h"
- #endif
-
- #ifndef __DrawFile_h
- #define __DrawFile_h
-
-
- /*-- structures etc... --*/
-
- #define DrawFile_RenderBoundingBoxes (1 << 0)
- #define DrawFile_DoNotRenderObjects (1 << 1)
-
- #define DrawFile_Data char *
- #define DrawFile_Flags int
-
- #define DrawFile_UseIdentityTransMat 0
- #define DrawFile_NoClippingRectangle 0
-
- typedef struct
- {
- int x0;
- int y0;
- int x1;
- int y1;
- int x2;
- int y2;
- } DrawFile_TransMatStr;
-
- typedef struct
- {
- int x0;
- int y0;
- int x1;
- int y1;
- } DrawFile_ClipBBoxStr;
-
- #define Render 0x45540
-
- extern _kernel_oserror *DrawFile_Render ( DrawFile_Flags flags,
- DrawFile_Data data,
- int size,
- DrawFile_TransMatStr *tm,
- DrawFile_ClipBBoxStr *clipbbox,
- int x, int y );
-
-
- #endif
-
-